package com.onesports.intelligent.k12.polarlight.domain.dto.market;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.onesports.intelligent.k12.polarlight.common.domain.dto.BasePagerDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Size;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrdersSettlementQueryDTO extends BasePagerDTO {

    @ApiModelProperty(value = "运营团队ID")
    private String organizationId;

    @ApiModelProperty(value = "校区ID")
    private String campusId;

    @ApiModelProperty(value = "教练ID")
    private String coachId;

    @ApiModelProperty(value = "订单开始时间('yyyy-MM-dd'格式)")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date orderStartTime;

    @ApiModelProperty(value = "订单截止时间('yyyy-MM-dd'格式)")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date orderEndTime;

    @ApiModelProperty(value = "结算时间('yyyy-MM-dd'格式)")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date settlementTime;

    @ApiModelProperty(value = "结算状态(true:已结算，false:未结算)")
    private Boolean settlementStatus;

    @ApiModelProperty(value = "省编码")
    private String province;

    @ApiModelProperty(value = "市编码")
    private String city;

    @ApiModelProperty(value = "区编码")
    private String area;


}
